package net.FamilyTree.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class EventForm {
    private Integer id;  // 事件ID


    private Integer genealogyId;  // 家谱ID

    private String datePoint;  // 日期点

    private String title;  // 标题

    private String content;  // 内容

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updatetime;  // 更新时间

}
